package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.core.domain.entity.SysUserRegisterDept;
import com.ruoyi.system.mapper.SysUserRegisterDeptMapper;
import com.ruoyi.system.service.ISysUserRegisterDeptService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author Tellsea
 * @date 2024−04−27
 */
@Service
public class SysUserRegisterDeptServiceImpl extends ServiceImpl<SysUserRegisterDeptMapper, SysUserRegisterDept> implements ISysUserRegisterDeptService {

    @Override
    public int batchSysUserRegisterDept(List<SysUserRegisterDept> userRegisterDeptList) {
        return baseMapper.batchSysUserRegisterDept(userRegisterDeptList);
    }

    @Override
    public List<Map<String, Object>> queryListByUserId(Long userId) {
        return baseMapper.queryListByUserId(userId);
    }
}
